//package adapter;
//import com.example.maillist.R;
//
//import android.annotation.SuppressLint;
//import android.content.Context;
//import android.view.LayoutInflater;
//import android.view.View;
//import android.view.ViewGroup;
//import android.widget.ArrayAdapter;
//import android.widget.BaseAdapter;
//import android.widget.TextView;
//
//import androidx.annotation.NonNull;
//
//import java.util.List;
//
//import item.Mail;
//public class mainAdapter extends BaseAdapter {
//    public int getCount(){
//        return
//    }
//
//}
////        super(context, resource, objects);
////    }
////
////
////    @Override
////    public View getView(int position, View convertView, ViewGroup parent) {
////
////        Mail Mail = (Mail)getItem(position);
////        View view = LayoutInflater.from(getContext()).inflate(R.layout.items, null);
////
////
////        TextView name = (TextView)view.findViewById(R.id.name);
////        TextView num = (TextView)view.findViewById(R.id.num);
////
////
////        name.setText(Mail.getName());
////        num.setText(Mail.getNumber());
////
////
////
////        return view;
////    }
//
